class CreatePaymethods < ActiveRecord::Migration
  def self.up
    create_table :paymethods do |t|
      t.string :name
      t.string :namecc
      t.string :numbercc
      t.date :expdatecc
      t.integer :codecc
      t.string :typecc
      t.string :useracc
      t.integer :limit
      t.integer :user_idf

      t.timestamps
    end
  end

  def self.down
    drop_table :paymethods
  end
end
